package com.itheima.static_.d1_staticmethod;

public class Student {

        private int score;

    public void setScore(int score) {
        this.score = score;
    }

    /*
            静态方法
             */
        public static void show(){
            System.out.println("show()");
        }
        /*
        实例方法
         */
        public void show1(){
            if (score >= 60){
                System.out.println("通过");
            }else {
                System.out.println("未通过");
            }
        }





}

